/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


$("#AccountButton").hover(function(){
    $("#AccountButton").attr('src','images/hover.png').css("opacity",".5");
    $("#AccountButton").attr('src','images/AccountButton.png').css("opacity",".5");
},function(){
    $("#AccountButton").attr('src','images/hover.png').css("opacity","0");
    $("#AccountButton").attr('src','images/AccountButton.png').css("opacity","1");;
});


$("#TripCreationButton").hover(function(){
    $("#TripCreationButton").attr('src','images/hover.png').css("opacity",".5");
    $("#TripCreationButton").attr('src','images/createTripButton.png').css("opacity",".5");
},function(){
    $("#TripCreationButton").attr('src','images/hover.png').css("opacity","0");
    $("#TripCreationButton").attr('src','images/createTripButton.png').css("opacity","1");
});


$("#SignOutButton").hover(function(){
    $("#SignOutButton").attr('src','images/hover.png').css("opacity",".5");
    $("#SignOutButton").attr('src','images/SignOutButton.png').css("opacity",".5");
},function(){
    $("#SignOutButton").attr('src','images/hover.png').css("opacity","0");
    $("#SignOutButton").attr('src','images/SignOutButton.png').css("opacity","1");
});


$("#AddFriendToTripButton").hover(function(){
    $("#AddFriendToTripButton").attr('src','images/hover.png').css("opacity",".5");
    $("#AddFriendToTripButton").attr('src','images/AddFriendsToTripButton.png').css("opacity",".5");
},function(){
    $("#AddFriendToTripButton").attr('src','images/hover.png').css("opacity","0");
    $("#AddFriendToTripButton").attr('src','images/AddFriendsToTripButton.png').css("opacity","1");
});


$("#StatsButton").hover(function(){
    $("#StatsButton").attr('src','images/hover.png').css("opacity",".5");
    $("#StatsButton").attr('src','images/StatsButton.png').css("opacity",".5");
},function(){
    $("#StatsButton").attr('src','images/hover.png').css("opacity","0");
    $("#StatsButton").attr('src','images/StatsButton.png').css("opacity","1");
});


$("#DayPlannerButton").hover(function(){
    $("#DayPlannerButton").attr('src','images/hover.png').css("opacity",".5");
    $("#DayPlannerButton").attr('src','images/DayPlannerButton.png').css("opacity",".5");
},function(){
    $("#DayPlannerButton").attr('src','images/hover.png').css("opacity","0");
    $("#DayPlannerButton").attr('src','images/DayPlannerButton.png').css("opacity","1");
});

$("#AddAWaypointButton").hover(function(){
    $("#AddAWaypointButton").attr('src','images/hover.png').css("opacity",".5");
    $("#AddAWaypointButton").attr('src','images/AddAWaypointButton.png').css("opacity",".5");
},function(){
    $("#AddAWaypointButton").attr('src','images/hover.png').css("opacity","0");
    $("#AddAWaypointButton").attr('src','images/AddAWaypointButton.png').css("opacity","1");
});


$("#LocationsNearMeButton").hover(function(){
    $("#LocationsNearMeButton").attr('src','images/hover.png').css("opacity",".5");
    $("#LocationsNearMeButton").attr('src','images/LocationsNearMeButton.png').css("opacity",".5");
},function(){
    $("#LocationsNearMeButton").attr('src','images/hover.png').css("opacity","0");
    $("#LocationsNearMeButton").attr('src','images/LocationsNearMeButton.png').css("opacity","1");
});